package com.qf.common.core.enums;

import lombok.Getter;

/**
 * 天--道--酬--勤
 *
 * @author LiangGaoQiang
 * @ClassName RedisKeyEnum
 * @Date: 2025/5/28 9:11
 * @Description: 描述
 */

public enum RedisKeyEnum {

    KEY_CODE("code:%s", 600);

    private String key;
    private int expireTime;

    RedisKeyEnum(String key, int expireTime) {
        this.key = key;
        this.expireTime = expireTime;
    }

    public int getExpireTime() {
        return expireTime;
    }

    public String getKey() {
        return key;
    }
}
